<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>工作台</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
        <meta name="renderer" content="webkit">

        <link rel="stylesheet" href="/v/index.css" />
        <script src="/v/vue3.js"></script>
        <script src="/v/axios.min.js"></script>
        <script src="/v/element.js"></script>
    </head>
    <style>
        a.navbar-brand, ul.nav li a{
            text-decoration: none;
        }
    </style>
    <body>
        <main class="content" id="app">
  <div class="mb-4">
    <el-button>Default</el-button>
    <el-button type="primary">Primary</el-button>
    <el-button type="success">Success</el-button>
    <el-button type="info">Info</el-button>
    <el-button type="warning">Warning</el-button>
    <el-button type="danger">Danger</el-button>
  </div>
        </main>

        <script>
//            // 创建axios实例
//            var http = axios.create({
//              // axios中请求配置有baseURL选项，表示请求URL公共部分
//              baseURL: "/api/",
//              // 超时
//              timeout: 10000
//            })
//
//            // request拦截器
//            http.interceptors.request.use(config => {
//              //添加token
//              config.headers['token'] = '{$token}';
//
//              return config
//            }, error => {
//                Promise.reject(error)
//            })
//            // 响应拦截器
//            http.interceptors.response.use(res => {
//                return  Promise.resolve(res.data)
//              },
//              error => {
//                Promise.reject(error)
//              }
//            )
            const { createApp } = Vue;
            const app = createApp({
              setup() {

              }
            });
            app.use(ElementPlus);
            app.mount('#app');

        </script>
    </body>

</html>